Setup File (see example below) The Fotolog query screen can be customized to suite the underlying database. The database of choice is MS-Access, but Fotolog can be adapted also to dBase, FoxPro and Paradox. Thefollowing cusomizing is possible: Up to 5 lists, with any number of items Up to 8 Yes/No check boxes 3 match fields, each containging any number of database fields The match operator of the lists can be =, <=, >=, or range All list and checkbox labels Default selection of match fields Columns, headings, alignment, width and formatting of the report Database, table and connect specifications A file names SETUP.INI must be created and saved in the application's directory. 1. The first thre lines of the setup.ini file must be as follows: Database=d:/dddddddd/dddddddd.mdb (for non-Access databases, do NOT show the specification (e.g. c:\aaaa\aaaaaa) Connect=xxxxxx (required only for non-Access databased; refer to database's user manual) Table=tttttttt Caption=ccccc ccccc ccccc to specify the database, table and screen caption. 2. The individual list boxes, check boxes, pulldown lists and the report layout are specified under the following headings: [List] [checkbox] [report] 3. Within the headings, specify the following, as appropriate. The first item MUST be 'Field=' Field=n (the sequential number of the field, starting with number 1) Descr=ddddddd (The label of the field) Match=n 1 = exact match (=) 2 = equal or more (>=) 3 = equal or less (<=) 4 = range if blank, the 'LIKE' operator will be used Item=xxxx (specifies an item in the list box) Width=nnnn (report column width in twips, 1440 twips = 1 inch) Format=ffffffff (format of data in report) Align=n (alignment of data in report) 1 = right align 2 = centered (default - left align) 3. Other Pulldown=n Pulldown=n Pulldown=n (specifies the sequential field number listed in the pulldown lists) Select1=1 Select2=1 (specifies the defaulted selection) Imagefile=n (specifies the sequential field number that contains the image file) Narrative=n (specifies the sequential field number that contains the narrative) Imageheight=nn Imagewidth=nn (specifies the height and width of the image window, expressed as a percent of the screen width, e.g. 50) Magnification=nn (specifies the default image magnification rate (%). Default is 100. ************************************************************************* EXAMPLE: Database=C:\Homeshow\Hotels.mdb Table=Hotels Caption=Hotels [List] Field=2 Descr=State item=AZ item=CA item=CO item=FL item=IL item=MA item=NY item=PA item=TX item=WA Field=3 Descr=Type Match=0 item=Business item=Resort item=Economy Field=4 Descr=Room Rate Match=4 item=50 item=75 item=100 item=125 item=150 item=175 item=200 item=225 item=250 [checkbox] Field=6 Descr=Swimming Pool Field=7 Descr=Room Service Field=8 Descr=Parking Field=9 Descr=Health Club Pulldown=1 Pulldown=5 Select1=1 Select2=5 Select3=0 [Report] Field=2 Descr=State Width=540 Field=1 Descr=City Width=1800 Field=5 Descr=Hotel Width=1800 Field=3 Descr=Type Width=1080 Field=4 Descr=Rate Width=1080 Align=1 Format=Currency Field=6 Descr=Pool Width=1080 Format=Yes/No Field=7 Descr=RService Width=1080 Format=Yes/No Field=8 Descr=Parking Width=1080 Format=Yes/No Field=9 Descr=H-Club Width=1080 Format=Yes/No Imagefile=10 Narrative=11 Imageheight=60 Imagewidth=60 Magnification=200